package com.atguigu.spzx.user.service;

import com.atguigu.spzx.user.dto.UserAddressDetailsRespDto;
import com.atguigu.spzx.user.vo.UserAddressQueryRespVo;

import java.util.List;

/**
 * <p>
 * UserAddressService
 * </p>
 *
 * @author flyduck
 * @since 2023/11/6
 */
public interface UserAddressService {
    /**
     * 获取用户地址列表
     * @return
     */
    List<UserAddressQueryRespVo> findUserAddressList();

    /**
     * 根据收货地址id获取收货地址
     * @param id
     * @return
     */
    UserAddressDetailsRespDto getUserAddressById(Long id);
}
